package com.example.module_mine.api

import com.example.lib_common.base.BaseResponse
import com.example.module_mine.model.GetLoginCodeModel
import okhttp3.RequestBody
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Query

interface MineApi {
    @POST("/app/sms/sendLoginCode")
    suspend fun sendLoginCode(@Query("operatorType") operatorType:String, @Query("phone") phone:String):BaseResponse<Boolean>
    @POST("/app/club_auth/login")
    suspend fun codeLogin(@Body body: RequestBody): BaseResponse<GetLoginCodeModel>
}